Inheritance diagram for XFcAdvertiser:

Public Member Functions | |
| virtual XFCIMPORT | ~XFcAdvertiser () |
| Virtual destructor. | |
| XFCIMPORT INT | getType () const |
| Gets advertiser type. | |
| virtual XFCIMPORT void | setGamePort (UINT16 aGamePort) |
| Set game play port. | |
| virtual XFCIMPORT UINT16 | getGamePort () const |
| Get game play port. | |
| virtual XFCIMPORT INT | setMessageHeader (const CHAR8 *aHeader, INT32 aLength) |
| Sets message header, e.g. "X-Forge Game: GeoPod". | |
| virtual XFCIMPORT void | getMessageHeader (CHAR8 *aHeader, INT32 &aLength) const |
| Gets message header, e.g. "X-Forge Game: GeoPod". | |
| virtual XFCIMPORT INT | setMessageData (const CHAR8 *aData, INT32 aLength) |
| Sets other data to message. | |
| virtual XFCIMPORT void | getMessageData (CHAR8 *aData, INT32 &aLength) const |
| Gets other message data. | |
| XFCIMPORT void | setAdvertisePort (UINT16 aAdvertisePort) |
| Set advertiser port, not used with bt. | |
| virtual XFCIMPORT INT | isAddress () const |
| Test if address is set. | |
| XFCIMPORT UINT16 | getAdvertisePort () const |
| Get advertiser port. | |
Public Attributes | |
| XFCIMPORT INT32 | mMessageLength |
| Advertise message length. | |
| XFCIMPORT CHAR8 | mMessage [XFC_MAXBUFFERSIZE] |
| Advertise message. | |
Protected Member Functions | |
| INT | init (INT aType) |
| Initialises advertiser with advertiser type. | |
| XFCIMPORT | XFcAdvertiser () |
| Protected constructor. | |
Protected Attributes | |
| UINT16 | mGamePort |
| Holds game port, will advertise this as game server port. | |
| UINT16 | mAdvertisePort |
| Holds advertise port, inet advertiser can be found in this port. | |
| INT32 | mHeaderLength |
| Holds header length. | |
| INT32 | mDataLength |
| Holds data length. | |
Private Attributes | |
| INT | mType |
| Holds advertiser type. | |
Its used to hold advertice information that is needed to advertice used server.
|
|
Protected constructor.
|
|
|
Virtual destructor.
|
|
|
Get advertiser port.
|
|
|
Get game play port.
Reimplemented in XFcInetAdvertiser. |
|
||||||||||||
|
Gets other message data.
Reimplemented in XFcInetAdvertiser. |
|
||||||||||||
|
Gets message header, e.g. "X-Forge Game: GeoPod".
Reimplemented in XFcInetAdvertiser. |
|
|
Gets advertiser type.
|
|
|
Initialises advertiser with advertiser type.
|
|
|
Test if address is set.
Reimplemented in XFcBtAdvertiser, and XFcInetAdvertiser. |
|
|
Set advertiser port, not used with bt.
|
|
|
Set game play port.
Reimplemented in XFcInetAdvertiser. |
|
||||||||||||
|
Sets other data to message.
Reimplemented in XFcInetAdvertiser. |
|
||||||||||||
|
Sets message header, e.g. "X-Forge Game: GeoPod".
Reimplemented in XFcInetAdvertiser. |
|
|
Holds advertise port, inet advertiser can be found in this port.
|
|
|
Holds data length.
|
|
|
Holds game port, will advertise this as game server port.
|
|
|
Holds header length.
|
|
|
Advertise message.
|
|
|
Advertise message length.
|
|
|
Holds advertiser type.
|
![]() |
Confidential Copyright © 2002-2003 Fathammer | with doxygen by Dimitri van Heesch | ||